import React from 'react';
import { Toast, } from 'antd-mobile';

export default class Index extends React.Component {
    constructor(props){
        super(props)
        this.state={
			content: '',
        }
    }
	componentDidMount(){
        document.title = '协议'
        global.Ajax.hhtc_request("login/get_xy",{}).then(data=>{
			if(data.code===1){
                this.setState({
                    content: data.data
                })
            }
		})
	}
	render(){
		return(
			<div className='login' style={{padding: '4vw'}} dangerouslySetInnerHTML={{__html:this.state.content}}></div>
		)
	}
}
